
// index.js
// 获取应用实例
const app = getApp()

Page({
  data: {
    background: ['../../images/shouye_banner@2x.png','../../images/shouye_banner@2x.png'],
    indicatorDots: true,
    vertical: false,
    autoplay: true,
    interval: 2000,
    duration: 500,
    h:0
  },

  onLoad(){
    this.setData({
      h:app.globalData.windowWidth * 0.96 * 0.48
    })
  }
})

